package com.online_mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author TSL
 * @data    :   2021/12/1
 * @module  :   启动类
 */
@MapperScan("com.online_mall.**.dao")
@SpringBootApplication
@EnableTransactionManagement
@EnableScheduling
public class OnlineMallApplication {

    public static void main(String[] args){
        SpringApplication.run(OnlineMallApplication.class, args);
    }

}
